package com.enba.boot.web.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "web")
@Data
public class WebProperties {

  /** web模块是否开启，默认：关闭 */
  private boolean enabled = false;

  /** 拦截器排除路径 */
  private String[] excludeUrls;

  /** 请求头名称 */
  private String hearName = "Authorization";
}
